Part Number Hot Search : 
41331 2518T FLM10 68HC908 BC857 D1001 IRF532FI SB020
Product Description
Full Text Search
 

To Download MB89875 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 FUJITSU SEMICONDUCTOR DATA SHEET
DS07-12516-4E
8-bit Proprietary Microcontroller
CMOS
F2MC-8L MB89870 Series
MB89875/P875/PV870
s DESCRIPTION
The MB89870 series is a line of single-chip microcontrollers. In addition to a compact instruction set, the microcontrollers contain a variety of peripheral functions such as dual-clock control system, five operating speed control stages, timers, a PWM timer, a serial interface, an A/D converter, an external interrupt, an LCD controller/ driver, and a watch prescaler.
s FEATURES
* * * * * * * * * * * * * F2MC-8L family CPU core Dual-clock control system Maximum memory space: 64 Kbytes Minimum execution time: 0.4 s/10 MHz Interrupt processing time: 3.6 s/10 MHz I/O ports: max. 45 channels 21-bit timebase timer 8-bit PWM timer: 1 channel, 1 output channel 8/16-bit timer/counter: 2 channels (16 bits x 1 channel) 8-bit serial I/O: 1 channel 10-bit A/D converter: 8 channels OP amp: 4 channels External interrupt (wake-up function): 8 channels
(Continued)
s PACKAGE
80-pin Plastic LQFP 80-pin Plastic QFP 80-pin Ceramic MQFP
(FPT-80P-M05)
(FPT-80P-M06)
(MQP-80C-P01)
MB89870 Series
(Continued) * Watch prescaler (15 bits) * LCD controller/driver: 16 to 24 segments x 2 to 4 commons * Power-on reset function * Low-power consumption modes (subclock mode, watch mode, sleep mode, and stop mode) * LQFP-80 (0.50-mm pitch) and QFP-80 (0.80-mm pitch) package
s PRODUCT LINEUP
Part number Parameter
MB89875 Mass production product (mask ROM product) 16 K x 8 bits (internal mask ROM) 512 x 8 bits
MB89P875 One-time PROM product 16 K x 8 bits (internal PROM) 12 x 8 bits
MB89PV870 Piggyback/evaluation product (for development) 32 K x 8 bits (external ROM) 1 K x 8 bits
Classification ROM size RAM size LCD display RAM CPU functions
Number of instructions: Instruction bit length: Instruction length: Data bit length: Minimum execution time: Interrupt processing time:
136 8 bits 1 to 3 bytes 1, 8, 16 bits 0.4 s/10 MHz to 6.4 s/10 MHz, 61.0 s/32.768 kHz 3.6 s/10 MHz to 57.6 s/10 MHz, 549.3 s/32.768 kHz
Ports 8-bit PWM timer Timers 8-bit Serial I/O
General-purpose I/O ports (CMOS): 45 (42 ports also serve as peripherals and 8 ports are also an N-ch open-drain type.)
8-bit interval timer operation (square output capable, operating clock cycle: 0.4 s to 3.3 ms) x 1 channel
7/8-bit resolution PWM operation (conversion cycle: 51.2 s to 839 ms) x 1 channel 8-bit timer operation (operating clock cycle) x 2 channels 16-bit timer operation (operating clock cycle) x 1 channel 8 bits LSB first/MSB first selectable One clock selectable from four operation clocks (one external shift clock, three internal shift clocks: 0.8 s, 3.2 s, 12.8 s) 24 segments x 4 commons 10-bit resolution x 8 channels A/D conversion mode (conversion time: 13.2 s) Sense mode (conversion time: 7.2 s) 4 channels The output can be used for A/D converter input.
LCD controller 10-bit A/D converter OP amps
(Continued)
2
MB89870 Series
(Continued)
Part number Parameter
MB89875
MB89P875
MB89PV870
External interrupt
8 independent channels (edge selection, interrupt vector, and source flag) Rising edge/falling edge selectable (4 channels) Rising edge/falling edge/both edges selectable (4 channels)
Used also for wake-up from stop/sleep mode (Edge detection is also permitted in stop mode.)
Low-power Consumption (Standby mode) Process
Operating voltage*
Subclock mode, sleep mode, watch mode, and stop mode CMOS 2.2 V to 6.0 V 2.7 V to 6.0 V MBM27C256A-20TV
EPROM for use
* : Varies with conditions such as the operating frequency. (See section "s Electrical Characteristics.")
s PACKAGE AND CORRESPONDING PRODUCTS
Package FPT-80P-M05 FPT-80P-M06 MQP-80C-P01 : Available x x : Not available MB89875 MB89P875 MB89PV870 x x
Note: For more information about each package, see section "s Package Dimensions."
3
MB89870 Series
s DIFFERENCES AMONG PRODUCTS
1. Memory Size
Before evaluating using the piggyback product, verify its differences from the product that will actually be used. Take particular care on the following points: * On the MB89PV870, the program area starts from address 8006H but on the MB89P875 and MB89875 starts from 8000H. (On the MB89P875, addresses BFF0H to BFF6H comprise the option setting area, option settings can be read by reading these addresses. On the MB89PV870 and MB89875, addresses 8000H to 8006H could also be used as a program ROM. However, do not use these addresses in order to maintain compatibility of the MB89P875.)
2. Current Consumption
* In the case of the MB89PV870, add the current consumed by the EPROM which is connected to the top socket. * When operated at low speed, the product with an OTPROM (one-time PROM) or an EPROM will consume more current than the product with a mask ROM. However, the current consumption in sleep/stop modes is the same. (For more information, see sections "s Electrical Characteristics" and "s Example Characteristics.")
3. Mask Options
Functions that can be selected as options and how to designate these options vary by the product. Before using options check section "s Mask Options." Take particular care on the following points: * A pull-up resistor cannot be selectable for P30 to P37 if they are used as the analog input pin for an A/D converter. * A pull-up resistor cannot be selectable for P10 to P17, and P34 to P37 if an OP amp is used. * A pull-up resistor is not selectable for P40 to P47 and P23, P24 if they are used as LCD pins. * Options are fixed on the MB89PV870.
4
s PIN ASSIGNMENT
P46/SEG22 P47/SEG23 AVSS AVR AVCC P30/AN0 P31/AN1 P32/AN2 P33/AN3 P34/AN4/OUT0 P35/AN5/OUT1 P36/AN6/OUT2 VSS P37/AN7/OUT3 X1 X0 MOD1 MOD0 RST P00/INT0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 (Top view)
(FPT-80P-M05) 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 SEG1 SEG0 COM0 COM1 COM2/P24 COM3/P23 V3 VCC V2 V1 V0 VSS P22 P21 P20 X1A X0A P57/SCK P56/SO P55/SI
P01/INT1 P02/INT2 P03/INT3 P04/INT4 P05/INT5 P06/INT6 P07/INT7 P10/IN0- P11/IN0+ P12/IN1- P13/IN1+ P14/IN2- P15/IN2+ P16/IN3- P17/IN3+ P50/PWM P51/TO2 P52/TO1 P53/EC P54/BUZ 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 P45/SEG21 P44/SEG20 P43/SEG19 P42/SEG18 P41/SEG17 P40/SEG16 SEG15 SEG14 SEG13 SEG12 SEG11 SEG10 SEG9 SEG8 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2
MB89870 Series
5
MB89870 Series
(Top view)
P44/SEG20 P45/SEG21 P46/SEG22 P47/SEG23 AVSS AVR AVCC P30/AN0 P31/AN1 P32/AN2 P33/AN3 P34/AN4/OUT0 P35/AN5/OUT1 P36/AN6/OUT2 VSS P37/AN7/OUT3 X1 X0 MOD1 MOD0 RST P00/INT0 P01/INT1 P02/INT2
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41
P43/SEG19 P42/SEG18 P41/SEG17 P40/SEG16 SEG15 SEG14 SEG13 SEG12 SEG11 SEG10 SEG9 SEG8 SEG7 SEG6 SEG5 SEG4
SEG3 SEG2 SEG1 SEG0 COM0 COM1 COM2/P24 COM3/P23 V3 VCC V2 V1 V0 VSS P22 P21 P20 X1A X0A P57/SCK P56/SO P55/SI P54/BUZ P53/EC
6
P03/INT3 P04/INT4 P05/INT5 P06/INT6 P07/INT7 P10/IN0- P11/IN0+ P12/IN1- P13/IN1+ P14/IN2- P15/IN2+ P16/IN3- P17/IN3+ P50/PWM P51/TO2 P52/TO1 (FPT-80P-M06)
MB89870 Series
(Top view)
P44/SEG20 P45/SEG21 P46/SEG22 P47/SEG23 AVSS AVR AVCC P30/AN0 P31/AN1 P32/AN2 P33/AN3 P34/AN4/OUT0 P35/AN5/OUT1 P36/AN6/OUT2 VSS P37/AN7/OUT3 X1 X0 MOD1 MOD0 RST P00/INT0 P01/INT1 P02/INT2
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41
P43/SEG19 P42/SEG18 P41/SEG17 P40/SEG16 SEG15 SEG14 SEG13 SEG12 SEG11 SEG10 SEG9 SEG8 SEG7 SEG6 SEG5 SEG4
101 102 103 104 105 106 107 108 109
93 92 91 90 89 88 87 86 85
Each pin inside the dashed line is for the MB89PV870 only.
SEG3 SEG2 SEG1 SEG0 COM0 COM1 COM2/P24 COM3/P23 V3 VCC V2 V1 V0 VSS P22 P21 P20 X1A X0A P57/SCK P56/SO P55/SI P54/BUZ P53/EC
* Pin assignment on package top (MB89PV870 only) Pin no. 81 82 83 84 85 86 87 88 Pin name N.C. VPP A12 A7 A6 A5 A4 A3 Pin no. 89 90 91 92 93 94 95 96 Pin name A2 A1 A0 N.C. O1 O2 O3 VSS Pin no. 97 98 99 100 101 102 103 104 Pin name N.C. O4 O5 O6 O7 O8 CE A10 Pin no. 105 106 107 108 109 110 111 112 Pin name OE N.C. A11 A9 A8 A13 A14 VCC
N.C.: Internally connected. Do not use. 7
P03/INT3 P04/INT4 P05/INT5 P06/INT6 P07/INT7 P10/IN0- P11/IN0+ P12/IN1- P13/IN1+ P14/IN2- P15/IN2+ P16/IN3- P17/IN3+ P50/PWM P51/TO2 P52/TO1 (MQP-80C-P01)
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
110 111 112 81 82 83 84
100 99 98 97 96 95 94
MB89870 Series
s PIN DESCRIPTION
Pin no. LQFP*1 15 16 44 45 17 18 19 QFP*2 MQFP*3 17 18 46 47 19 20 21 X1 X0 X0A X1A MOD1 MOD0 RST J C Operating mode selection pins Connect to VSS (GND) when using. Reset I/O pin "L" is output from this pin by an internal source. The internal circuit is initialized by the input of "L". General-purpose I/O ports Also serve as an external interrupt input (wake-up function). External interrupt input is hysteresis input. General-purpose I/O ports Also serve as the input for the OP amp B Subclock crystal oscillator pins (32.768 kHz) Pin name Circuit
type
Function Main clock crystal oscillator pins (max. 10 MHz)
A
20 to 27
22 to 29
P00/INT0 to P07/INT7
D
28, 29, 30, 31, 32, 33, 34, 35 46 to 48 6 to 9 10 to 14
30, 31, 32, 33, 34, 35, 36, 37 48 to 50 8 to 11 12 to 16
P10/IN0-, P11/IN0+, P12/IN1-, P13/IN1+, P14/IN2-, P15/IN2+, P16/IN3-, P17/IN3+ P20 to P22 P30/AN0 to P33/AN3 P34/AN4/OUT0 to P37/AN7/OUT3 P40/SEG16 to P47/SEG23 P50/PWM
E
F E G
General-purpose I/O ports General-purpose I/O ports Also serve as the input for the A/D converter. General-purpose I/O ports Also serve as the A/D converter input and the output for the OP amp. General-purpose I/O ports Also serve as an LCD controller/driver segment output. General-purpose I/O port The output type can be switched between N-ch open-drain and CMOS. Also serves as an 8-bit PWM timer. General-purpose I/O ports The output type can be switched between N-ch open-drain and CMOS. Also serves as an 8/16-bit timer/counter.
75 to 80, 1,2 36
77 to 80, 1 to 4 38
H
F
37, 38, 39
39, 40, 41
P51/TO2, P52/TO1, P53/EC
F
*1: FPT-80P-M05 *2: FPT-80P-M06 *3: MQP-80C-P01
(Continued)
8
MB89870 Series
(Continued)
Pin no. LQFP*1 40 QFP*2 MQFP*3 42 Pin name P54/BUZ Circuit
type
Function General-purpose I/O port The output type can be switched between N-ch open-drain and CMOS. Also serves as a buzzer output. General-purpose I/O ports The output type can be switched between N-ch open-drain and CMOS. Also serve as an 8-bit serial I/O. LCD controller/driver segment output pins LCD controller/driver common output pins LCD controller/driver common output pins These pins can be used as general-purpose I/O ports when they are not used as common output pins. LCD driving power supply pins A/D converter and OP amp power supply pin A/D converter reference voltage input pin A/D converter and OP amp power supply (GND) pin Power supply pin Power supply (GND) pins
F
41, 42, 43 59 to 74 58, 57 56, 55
43, 44, 45 61 to 76 60, 59 58, 57
P55/SI, P56/SO, P57/SCK SEG15 to SEG0 COM0, COM1 COM2/P24, COM3/P23
F
I I H
50 to 54 5 4 3 53 13, 49
52 to 56 7 6 5 55 15, 51
V3 to V0 AVCC AVR AVSS VCC VSS
-- -- -- -- -- --
*1: FPT-80P-M05 *2: FPT-80P-M06 *3: MQP-80C-P01
9
MB89870 Series
* External EPROM pins (MB89PV870 only) Pin no. 82 83 84 85 86 87 88 89 90 91 93 94 95 96 98 99 100 101 102 103 104 105 107 108 109 110 111 112 81 92 97 106 Pin name VPP A12 A7 A6 A5 A4 A3 A2 A1 A0 O1 O2 O3 VSS O4 O5 O6 O7 O8 CE A10 OE A11 A9 A8 A13 A14 VCC N.C. I/O O O "H" level output pin Address output pins Function
I
Data input pins
O I
Power supply (GND) pin Data input pins
O O O O
ROM chip enable pin Outputs "H" during standby. Address output pin ROM output enable pin Outputs "L" at all times. Address output pins
O O O -- EPROM power supply pin Internally connected pins Be sure to leave them open.
10
MB89870 Series
s I/O CIRCUIT TYPE
Type Circuit Remarks
A
X1 N-ch P-ch X0 P-ch N-ch
Main clock * At an oscillation feedback resistor of approximately 1 M/5.0 V
Main clock control signal
B
X1A N-ch P-ch X0A P-ch N-ch
Subclock * At an oscillation feedback resistor of approximately 4.5 M/5.0 V
Subclock control signal
C
* CMOS hysteresis input
D
R P-ch P-ch
* CMOS I/O (when selected as general-purpose ports) * Hysteresis input (when selected as an external interrupt input) * Pull-up resistor optional at approximately 50 k/5.0 V
N-ch
E
R P-ch P-ch P-ch N-ch Analog input
* Analog input * CMOS I/O (when selected as general-purpose ports) * Pull-up resistor optional at approximately 50 k/5.0 V
N-ch
(Continued)
11
MB89870 Series
(Continued)
Type Circuit
R P-ch P-ch
Remarks
F
* CMOS I/O (when selected as general-purpose ports) * P50 to P57 are output only and can be switched between CMOS output and N-ch open-drain output. * Pull-up resistor optional at approximately 50 k/5.0 V
N-ch
G
R P-ch P-ch N-ch Analog output Analog output
* * * *
Analog input Analog output CMOS I/O (when selected as general-purpose ports) Pull-up resistor optional at approximately 50 k/5.0 V
P-ch
N-ch
H
R P-ch
P-ch N-ch P-ch N-ch P-ch
* LCD controller/driver output * CMOS I/O (when selected as general-purpose ports) * Pull-up resistor optional at approximately 50 k/5.0 V
N-ch
I
P-ch N-ch P-ch N-ch
* LCD controller/driver output
J
R P-ch
* At an output pull-up resistor (P-ch) of approximately 50 k/5.0 V * CMOS hysteresis input
N-ch
12
MB89870 Series
s HANDLING DEVICES
1. Preventing Latchup
Latchup may occur on CMOS ICs if voltage higher than VCC or lower than VSS is applied to input and output pins other than medium- and high-voltage pins or if higher than the voltage which shows on "1. Absolute Maximum Ratings" in section "s Electrical Characteristics" is applied between VCC and VSS. When latchup occurs, power supply current increases rapidly and might thermally damage elements. When using, take great care not to exceed the absolute maximum ratings. Also, take care to prevent the analog power supply (AVCC and AVR) and analog input from exceeding the digital power supply (VCC) when the analog system power supply is turned on and off.
2. Treatment of Unused Input Pins
Leaving unused input pins open could cause malfunctions. They should be connected to a pull-up or pull-down resistor.
3. Treatment of Power Supply Pins on Microcontrollers with A/D and D/A Converters
Connect to be AVCC = DAVC = VCC and AVSS = AVR = VSS even if the A/D and D/A converters are not in use.
4. Treatment of N.C. Pins
Be sure to leave (internally connected) N.C. pins open.
5. Power Supply Voltage Fluctuations
Although VCC power supply voltage is assured to operate within the rated range, a rapid fluctuation of the voltage could cause malfunctions, even if it occurs within the rated range. Stabilizing voltage supplied to the IC is therefore important. As stabilization guidelines, it is recommended to control power so that VCC ripple fluctuations (P-P value) will be less than 10% of the standard VCC value at the commercial frequency (50 to 60 Hz) and the transient fluctuation rate will be less than 0.1 V/ms at the time of a momentary fluctuation such as when power is switched.
6. Precautions when Using an External Clock
When an external clock is used, oscillation stabilization time is required even for power-on reset (optional) and wake-up from stop mode.
13
MB89870 Series
s PROGRAMMING TO THE EPROM ON THE MB89P875
The MB89P875 is an OTPROM version of the MB89870 series.
1. Features
* 16-Kbyte PROM on chip * Options can be set using the EPROM programmer. * Equivalency to the MBM27C256A in EPROM mode (when programmed with the EPROM programmer)
2. Memory Space
Memory space in each mode such as 16-Kbyte PROM, option area is diagrammed below.
Address 0000H
Single chip I/O
EPROM mode (Corresponding address on the EPROM programmer)
0080H 0280H RAM Not available BFF0H Not available BFF6H Not available C000H PROM 16 KB FFFFH 7FFFH 4000H EPROM 16 KB 3FF6H Vacancy 3FF0H Option area
3. Programming to the EPROM
In EPROM mode, the MB89P875 functions equivalent to the MBM27C256A. This allows the PROM to be programmed with a general-purpose EPROM programmer (the electronic signature mode cannot be used) by using the dedicated socket adapter. When the operating ROM area for a single chip is 16 Kbytes (C000H to FFFFH) the PROM can be programmed as follows: * Programming procedure (1) Set the EPROM programmer to the MBM27C256A. (2) Load program data into the EPROM programmer at 4000H to 7FFFH (note that addresses C000H to FFFFH while operating as a single chip assign to 4000H to 7FFFH in EPROM mode). Load option data into addresses 3FF0H to 3FF6H of the EPROM programmer. (For information about each corresponding option, see "7. Setting OTPROM Options.") (3) Program to 3FF0H to 7FFFH with the EPROM programmer.
14
MB89870 Series
4. Recommended Screening Conditions
High-temperature aging is recommended as the pre-assembly screening procedure for a product with a blanked OTPROM microcomputer program.
Program, verify
Aging +150C, 48 Hrs.
Data verification
Assembly
5. Programming Yield
All bits cannot be programmed at Fujitsu shipping test to a blanked OTPROM microcomputer, due to its nature. For this reason, a programming yield of 100% cannot be assured at all times.
6. EPROM Programmer Socket Adapter
Recommended programmer manufacturer and programmer name Part No. Package Compatible socket adapter Sun Hayato Co., Ltd. Minato Electronics Inc. 1890A MB89P875PFV MB89P875PF LQFP-80 QFP-80 ROM-80SQF-28DP-8L ROM-80QF-28DP-8L3 Recommended Recommended Advantest Corp. R4945A Recommended Recommended
Inquiry: Sun Hayato Co., Ltd.: TEL (81)-3-3986-0403 FAX (81)-3-5396-9106 Minato Electronics Inc.: TEL: USA (1)-916-348-6066 JAPAN (81)-45-591-5611 Advantest Corp.: TEL: Except JAPAN (81)-3-3930-4111
15
MB89870 Series
7. Setting OTPROM Options
The programming procedure is the same as that for the PROM. Options can be set by programming values at the addresses shown on the memory map. The relationship between bits and options is shown on the following bit map: * OTPROM option bit map
Address
Bit 7 Vacancy
Bit 6 Vacancy Readable and writable P06 Pull-up 1: No 0: Yes Vacancy Readable and writable P36 Pull-up 1: No 0: Yes P56 Pull-up 1: No 0: Yes Vacancy Readable and writable Vacancy Readable and writable
Bit 5 Vacancy Readable and writable P05 Pull-up 1: No 0: Yes P44 to P47 Pull-up 1: No 0: Yes P35 Pull-up 1: No 0: Yes P55 Pull-up 1: No 0: Yes Vacancy Readable and writable Vacancy Readable and writable
Bit 4 Single/dualclock system 1: Dual clock 0: Single clock P04 Pull-up 1: No 0: Yes P40 to P43 Pull-up 1: No 0: Yes P34 Pull-up 1: No 0: Yes P54 Pull-up 1: No 0: Yes P24 Pull-up 1: No 0: Yes Vacancy Readable and writable
Bit 3 Reset pin output 1: Yes 0: No P03 Pull-up 1: No 0: Yes P16, P17 Pull-up 1: No 0: Yes P33 Pull-up 1: No 0: Yes P53 Pull-up 1: No 0: Yes P23 Pull-up 1: No 0: Yes Vacancy Readable and writable
Bit 2 Power-on reset 1: Yes 0: No P02 Pull-up 1: No 0: Yes P14, P15 Pull-up 1: No 0: Yes P32 Pull-up 1: No 0: Yes P52 Pull-up 1: No 0: Yes P22 Pull-up 1: No 0: Yes Vacancy Readable and writable
Bit 1
Bit 0
Oscillation stabilization time 00: 218/FCH 01: 217/FCH P01 Pull-up 1: No 0: Yes P12, P13 Pull-up 1: No 0: Yes P31 Pull-up 1: No 0: Yes P51 Pull-up 1: No 0: Yes P21 Pull-up 1: No 0: Yes Vacancy Readable and writable 10: 213/FCH 11: 0 P00 Pull-up 1: No 0: Yes P10, P11 Pull-up 1: No 0: Yes P30 Pull-up 1: No 0: Yes P50 Pull-up 1: No 0: Yes P20 Pull-up 1: No 0: Yes Reserved bit Readable and writable
3FF0H Readable and writable P07 3FF1H Pull-up 1: No 0: Yes Vacancy 3FF2H Readable and writable P37 3FF3H Pull-up 1: No 0: Yes P57 Pull-up 3FF4H 1: No 0: Yes Vacancy 3FF5H Readable and writable Vacancy 3FF6H Readable and writable
Note: Each bit is set to `1' as the initialized value.
16
MB89870 Series
s PROGRAMMING TO THE EPROM WITH PIGGYBACK/EVALUATION DEVICE
1. EPROM for Use
MBM27C256A-20TV
2. Programming Socket Adapter
To program to the PROM using an EPROM programmer, use the socket adapter (manufacturer: Sun Hayato Co., Ltd.) listed below. Package LCC-32 (Rectangle) LCC-32 (Square) Compatible socket part number ROM-32LC-28DP-YG ROM-32LC-28DP-S
Inquiry: Sun Hayato Co., Ltd.: TEL (81)-3-3986-0403 FAX (81)-3-5396-9106
3. Memory Space
Memory space in 32-Kbyte PROM is diagrammed below.
Address 0000H
Single chip I/O
Corresponding addresses on the EPROM programmer
0080H 0480H 8000H Not available 8006H PROM 32 KB FFFFH 7FFFH 0006H PROM 32 KB RAM Not available 0000H Not available
4. Programming to the EPROM
(1) Set the EPROM programmer to the MBM27C256A. (2) Load program data into the EPROM programmer at 0006H to 7FFFH. (3) Program to 0000H to 7FFFH with the EPROM programmer.
17
MB89870 Series
s BLOCK DIAGRAM
Timebase timer
I/O port
X0 X1
Main clock oscillator
8-bit PWM timer
P50/PWM
Clock controller 8-bit timer/counter 2 X0A X1A Subclock oscillator (32.768 kHz) P52/TO1 8-bit timer/counter 1 RST Reset circuit (Watchdog) Buzzer output I/O port
Internal bus
P51/TO2
P53/EC
P54/BUZ
P40/SEG16 to P47/SEG23 COM2/P24, COM3/P23 COM0, COM1 SEG0 to SEG15 V0 to V3
8
8 LCD controller/driver
8-bit serial I/O
P55/SI P56/SO P57/SCK 3
2 I/O port 2 COM: 2 to 4 16 SEG: 16 to 24 External interrupt 4 10-bit A/D converter LCD display RAM (12 x 8 bits) - + 4 8 I/O port
P20 to P22
8 P00/INT0 to P07/INT7 4 P30/AN0 to P33/AN3 P34/AN4/OUT0 P10/IN0- P11/IN0+ P35/AN5/OUT1
RAM
F2MC-8L CPU
- +
P12/IN1- P13/IN1+ P36/AN6/OUT2
ROM Other pins MOD x 2, VCC x 1 VSS x 2 AVCC, AVSS, AVR
- +
P14/IN2- P15/IN2+ P37/AN7/OUT3
- +
P16/IN3- P17/IN3+
18
MB89870 Series
s CPU CORE
1. Memory Space
The microcontrollers of the MB89870 series offer a memory space of 64 Kbytes for storing all of I/O, data, and program areas. The I/O area is located at the lowest address. The data area is provided immediately above the I/O area. The data area can be divided into register, stack, and direct areas according to the application. The program area is located at exactly the opposite end, that is, near the highest address. Provide the tables of interrupt reset vectors and vector call instructions toward the highest address within the program area. The memory space of the MB89870 series is structured as illustrated below. * Memory Space
0000H MB89PV870 I/O 0080H RAM 1 KB 0100H Register 0200H 0200H 0280H 0480H Not available 8000H 0100H Register 0200H 0280H Not available Not available BFF0H Not available C000H External ROM 32 KB ROM 16 KB PROM 16 KB C000H 0080H RAM 512 B 0100H Register 0000H MB89875 I/O 0080H RAM 512 B 0000H MB89P875 I/O
FFFFH
FFFFH
FFFFH
19
MB89870 Series
2. Registers
The F2MC-8L family has two types of registers; dedicated registers in the CPU and general-purpose registers in the memory. The following dedicated registers are provided: Program counter (PC): Accumulator (A): Temporary accumulator (T): Index register (IX): Extra pointer (EP): Stack pointer (SP): Program status (PS): A 16-bit register for indicating instruction storage positions A 16-bit temporary register for storing arithmetic operations, etc. When the instruction is an 8-bit data processing instruction, the lower byte is used. A 16-bit register which performs arithmetic operations with the accumulator When the instruction is an 8-bit data processing instruction, the lower byte is used. A 16-bit register for index modification A 16-bit pointer for indicating a memory address A 16-bit register for indicating a stack area A 16-bit register for storing a register pointer, a condition code
16 bits PC A T IX EP SP PS : Program counter : Accumulator : Temporary accumulator : Index register : Extra pointer : Stack pointer : Program status
Initial value FFFDH Indeterminate Indeterminate Indeterminate Indeterminate Indeterminate I-flag = 0, IL1,0 = 11 The other bit values are indeterminate.
The PS can further be divided into higher 8 bits for use as a register bank pointer (RP) and the lower 8 bits for use as a condition code register (CCR). (See the diagram below.) * Structure of the Program Status Register
15 PS
14
13 RP
12
11
10
9
8
7 H
6 I
5
4
3 N
2 Z
1 V
0 C
Vacancy Vacancy Vacancy
IL1, 0
RP
CCR
20
MB89870 Series
The RP indicates the address of the register bank currently in use. The relationship between the pointer contents and the actual address is based on the conversion rule illustrated below. * Rule for Conversion of Actual Addresses of the General-purpose Register Area
RP
Lower OP codes b1 b0
"0" "0" "0" "0" "0" "0" "0" "1" R4 R3 R2 R1 R0 b2
Generated addresses A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0
The CCR consists of bits indicating the results of arithmetic operations and the contents of transfer data and bits for control of CPU operations at the time of an interrupt. H-flag: Set to `1' when a carry or a borrow from bit 3 to bit 4 occurs as a result of an arithmetic operation. Cleared to `0' otherwise. This flag is for decimal adjustment instructions. I-flag: IL1, 0: Interrupt is enabled when this flag is set to `1'. Interrupt is disabled when the flag is cleared to `0'. Cleared to `0' at the reset. Indicates the level of the interrupt currently allowed. Processes an interrupt only if its request level is higher than the value indicated by this bit. IL1 0 0 1 1 IL0 0 1 0 1 Interrupt level 1 2 3 Low High-low High
N-flag: Set to `1' if the MSB becomes to `1' as the result of an arithmetic operation. Cleared to `0' when the bit is cleared to `0'. Z-flag: V-flag: Set to `1' when an arithmetic operation results in 0. Cleared otherwise. Set to `1' if the complement on 2 overflows as a result of an arithmetic operation. Cleared to `0' if the overflow does not occur.
C-flag: Set to `1' when a carry or a borrow from bit 7 occurs as a result of an arithmetic operation. Cleared to `0' otherwise. Set to the shift-out value in the case of a shift instruction.
21
MB89870 Series
The following general-purpose registers are provided: General-purpose registers: An 8-bit register for storing data The general-purpose registers are 8 bits and located in the register banks of the memory. One bank contains eight registers and up to a total of 32 banks can be used on the MB89875 (RAM 512 x 8 bits). The bank currently in use is indicated by the register bank pointer (RP). Note: The number of register banks that can be used varies with the RAM size. * Register Bank Configuraiton
This address = 0100H + 8 x (RP) R0 R1 R2 R3 R4 R5 R6 R7 32 banks Memory area
22
MB89870 Series
s I/O MAP
Address 00H 01H 02H 03H 04H 05H 06H 07H 08H 09H 0AH 0BH 0CH 0DH 0EH 0FH 10H 11H 12H 13H 14H 15H 16H 17H 18H 19H 1AH 1BH 1CH 1DH 1EH 1FH W R/W W ICR3 CNTR COMP R/W CHG5 R/W R/W PDR5 DDR5 R/W R/W R/W R/W R/W R/W R/W R/W R/W SCC SMC WDTE TBCR WCR PDR3 DDR3 PDR4 DDR4 Read/write R/W W R/W W R/W R/W Register name PDR0 DDR0 PDR1 DDR1 PDR2 DDR2 Register description Port 0 data register Port 0 data direction register Port 1 data register Port 1 data direction register Port 2 data register Port 2 data direction register Vacancy System clock control register Standby control register Watchdog timer control register Timebase timer control register Watch prescaler control register Port 3 data register Port 3 data direction register Port 4 data register Port 4 data direction register Vacancy Vacancy Vacancy Vacancy Vacancy Vacancy Port 5 data register Port 5 data direction register Vacancy Vacancy Port 5 switching register Vacancy Vacancy Port 3 input control register PWM control register PWM compare register
(Continued)
23
MB89870 Series
(Continued)
Address 20H 21H 22H 23H 24H 25H 26H 27H 28H 29H 2AH 2BH 2CH 2DH 2EH 2FH 30H 31H 32H 33H 34H to 5FH 60H to 6BH 6CH to 6FH 70H 71H 72H to 7BH 7CH 7DH 7EH 7FH Note: Do not use vacancies. W W W ILR1 ILR2 ILR3 R/W R/W LCR1 LCR2 R/W VRAM R/W R/W R/W R/W R/W R/W R/W R/W OPC ADC1 ADC2 ADCH ADCL EIE1 EIF1 EIE2 R/W R/W R/W R/W R/W R/W T2CR T1CR T2DR T1DR SMR SDR Read/write Register name Vacancy Vacancy Vacancy Vacancy Timer 2 control register Timer 1 control register Timer 2 data register Timer 1 data register Serial mode register Serial data register Vacancy Vacancy OP amp control register A/D converter control register 1 A/D converter control register 2 A/D converter data register H A/D converter data register L External interrupt 1 enable register External interrupt 1 flag register External interrupt 2 enable register Vacancy Display data RAM Vacancy LCD controller/driver control register 1 LCD controller/driver control register 2 Vacancy Interrupt level setting register 1 Interrupt level setting register 2 Interrupt level setting register 3 Vacancy Register description
24
MB89870 Series
s ELECTRICAL CHARACTERISTICS
1. Absolute Maximum Ratings
(AVSS = VSS = 0.0 V) Parameter Power supply voltage A/D converter reference input voltage LCD power supply voltage Input voltage Output voltage "L" level maximum output current "L" level average output current "L" level total maximum output current "L" level total average output current "H" level maximum output current "H" level average output current "H" level total maximum output current "H" level total average output current Power consumption Operating temperature Storage temperature Symbol VCC AVCC AVR V0 to V3 VI VO IOL IOLAV IOL IOLAV IOH IOHAV IOH IOHAV PD TA Tstg Value Min. VSS - 0.3 VSS - 0.3 VSS - 0.3 VSS - 0.3 VSS - 0.3 -40 -55 Max. VSS + 7.0 VSS + 7.0 VSS + 7.0 VCC + 0.3 VCC + 0.3 20 4 100 40 -20 -4 -50 -20 300 +85 +150 Unit V * V V V V mA mA mA mA mA mA mA mA mW C C Average value (operating current x operating rate) Average value (operating current x operating rate) Average value (operating current x operating rate) Average value (operating current x operating rate) V0 to V3 must not exceed VCC. Remarks
* : Use AVCC and VCC set at the same voltage. Take care so that AVR does not exceed AVCC + 0.3 V and AVCC does not exceed VCC, such as when power is turned on. WARNING: Semiconductor devices can be permanently damaged by application of stress (voltage, current, temperature, etc.) in excess of absolute maximum ratings. Do not exceed these ratings.
25
MB89870 Series
2. Recommended Operating Conditions
(AVSS = VSS = 0.0 V) Parameter Symbol Value Min. 2.2* Power supply voltage VCC AVCC 2.7 1.5 A/D converter reference input voltage LCD power supply voltage Operating temperature AVR V0 to V3 TA 0.0 VSS -40 Max. 6.0* 6.0 6.0 AVCC VCC +85 Unit V V V V V C LCD power supply range (The optimum value is dependent on the LCD element in use.) Remarks Normal operation assurance range* MB89875 Normal operation assurance range MB89PV870/P875 Retains the RAM state in stop mode
* : These values vary with the operating frequency, instruction cycle, and analog assurance range. See Figure 1 and "5. A/D Converter Electrical Characteristics."
26
MB89870 Series
Figure 1
Operating Voltage vs. Main Clock Operating Frequency
6 Analog accuracy assured in the AVCC = 3.5 V to 6.0 V range 5 Operation assurance range
Operating voltage (V)
4
3
2
1
1.0
2.0
3.0
4.0
5.0 6.0
7.0
8.0
9.0 10.0
Main clock operating frequency (at an instruction cycle of 4/FCH) (MHz)
4.0 2.0 0.8 Minimum execution time (instruction cycle) (ms) Note: The shaded area is assured only for the MB89875.
0.4
Figure 1 indicates the operating frequency of the external oscillator at an instruction cycle of 4/FCH. Since the operating voltage range is dependent on the instruction cycle, see minimum execution time if the operating speed is switched using a gear. WARNING: Recommended operating conditions are normal operating ranges for the semiconductor device. All the device's electrical characteristics are warranted when operated within these ranges. Always use semiconductor devices within the recommended operating conditions. Operation outside these ranges may adversely affect reliability and could result in device failure. No warranty is made with respect to uses, operating conditions, or combinations not represented on the data sheet. Users considering application outside the listed conditions are advised to contact their FUJITSU representative beforehand.
27
MB89870 Series
3. DC Characteristics
(AVCC = VCC = 5.0 V, AVSS = VSS = 0.0 V, TA = -40C to +85C) Parameter Symbol Pin name P20 to P24, P30 to P37, P40 to P47, P50 to P52, P54, P56 P00 to P07, P10 to P17, MOD0, MOD1, RST, P53, P55, P57 P20 to P24, P30 to P37, P40 to P47, P50 to P52, P54, P56 P00 to P07, P10 to P17, MOD0, MOD1, RST, P53, P55, P57 Condition Value Min. 0.7 VCC Typ. Max. VCC + 0.3 Unit Remarks
VIH "H" level input voltage VIHS
V
0.8 VCC
VCC + 0.3
V
VIL "L" level input voltage VILS Open-drain output pin application voltage "H" level output voltage "L" level output voltage
VSS - 0.3
0.3 VCC
V
--
VSS - 0.3
0.2 VCC
V
VD
P50 to P57
--
VSS - 0.3
VCC - 0.3
V
N-ch opendrain
VOH
P00 to P07, P10 to P17, P20 to P24, P30 to P37, IOH = -2.0 mA P40 to P47, P50 to P57 P00 to P07, P10 to P17, P20 to P24, P30 to P37, IOL = 4.0 mA P40 to P47, P50 to P57 P00 to P07, P10 to P17, P20 to P24, P30 to P37, 0.0 V < VI < P40 to P47, P50 to P57 VCC MOD0, MOD1, RST P00 to P07, P10 to P17, P20 to P24, P30 to P37, VI = 0.0 V P40 to P47, P50 to P57
4.0
V
VOL
0.4
V
Input leakage current (Hi-Z output ILI leakage current) Pull-up resistance RPULL
5
A
With pull-up resistor
25
50
100
k
With pull-up resistor
(Continued)
28
MB89870 Series
(AVCC = VCC = 5.0 V, AVSS = VSS = 0.0 V, TA = -40C to +85C) Value Condition Unit Remarks Min. Typ. Max. FCH = 10 MHz VCC = 5.0 V tinst*2 = 0.4 s FCH = 10 MHz VCC = 3.0 V tinst*2 = 6.4 s Sleep mode FCH = 10 MHz VCC = 5.0 V tinst*2 = 0.4 s FCH = 10 MHz VCC = 3.0 V tinst*2 = 6.4 s -- 12 20 mA MB89875/ PV870
Parameter
Symbol
Pin name
ICC1
ICC2
-- -- --
1.0 1.5 3
2 2.5 7
mA
mA MB89P875 mA
ICCS1
ICCS2
--
0.5
1.5
mA A A A MB89875/ PV870 MB89P875
ICCL VCC ICCLS Power supply current*1 ICCT
FCL = 32.768 kHz, VCC = 3.0 V Subclock mode FCL = 32.768 kHz, VCC = 3.0 V Subclock sleep mode FCL = 32.768 kHz, VCC = 3.0 V * Watch mode * Main clock stop mode at dualclock system TA = +25C * Subclock stop mode * Main clock stop mode at singleclock system FCH = 10 MHz, when A/D conversion is activated
-- --
50 500
100 700
--
15
50
--
3
15
A
ICCH
--
--
1
A
IA AVCC IAH
--
1.5
3
mA
FCH = 10 MHz, TA = +25C, when A/D conversion is stopped
--
--
1
A
(Continued)
29
MB89870 Series
(Continued)
(AVCC = VCC = 5.0 V, AVSS = VSS = 0.0 V, TA = -40C to +85C) Value Condition Unit Remarks Min. Typ. Max. Between VCC and V0 at VCC = 5.0 V 300 500 750 k
Parameter LCD divided resistance
Symbol
Pin name
RLCD
COM0 to 3 output RVCOM impedance SEG0 to 24 output impedance LCD controller/ driver leakage current RVSEG
COM0 to 3 V1 to V3 = 5.0 V SEG0 to 24
--
2.5
k
--
15
k
ILCDL
V0 to V3, COM0 to 3 SEG0 to SEG24 Other than AVCC, AVSS, VCC, and VSS
--
1
A
Input capacitance CIN
f = 1 MHz
--
10
pF
*1: The power supply current is measured at the external clock. *2: For information on tinst, see "(4) Instruction Cycle" in "4. AC Characteristics." Note: For pins which serve as the LCD and ports (P23, P24 and P40 to P47), see the port parameter when these pins are used as ports and the LCD parameter when they are used as LCD pins.
30
MB89870 Series
4. AC Characteristics
(1) Reset Timing (VCC = +5.0 V 10%, AVSS = VSS = 0.0 V, TA = -40C to +85C) Parameter RST "L" pulse width Symbol tZLZH Condition -- Value Min. 48 tHCYL Max. -- Unit ns Remarks
tZLZH RST 0.2 VCC 0.2 VCC
(2) Power-on Reset (AVSS = VSS = 0.0 V, TA = -40C to +85C) Parameter Power supply rising time Power supply cutoff time Symbol tR tOFF Condition -- Value Min. -- 1 Max. 50 -- Unit ms ms Remarks Power-on reset function only Due to repeated operations
Note: Make sure that power supply rises within the selected oscillation stabilization time. If power supply voltage needs to be varied in the course of operation, a smooth voltage rise is recommended.
tR 2.0 V 0.2 V
tOFF
0.2 V
0.2 V
VCC
31
MB89870 Series
(3) Clock Timing (AVSS = VSS = 0.0 V, TA = -40C to +85C) Parameter Clock frequency Clock cycle time Input clock pulse width Input clock rising/ falling time Symbol FCH FCL tHCYL tLCYL PWH PWL tCR tCF Pin name X0, X1 X0A, X1A X0, X1 X0A, X1A X0 X0 -- Condition Value Min. 1 -- 100 -- 20 -- Typ. -- 32.768 -- 30.5 -- -- Max. 10 -- 1000 -- -- 10 Unit MHz kHz ns s ns ns External clock External clock Remarks
32
MB89870 Series
X0 and X1 Timing and Conditions
tHCYL PWH tCR 0.8 VCC X0 0.2 VCC 0.2 VCC 0.2 VCC 0.8 VCC tCF PWL
Main Clock Conditions
When a crystal or ceramic resonator is used
When an external clock is used
X0
X1
X0
X1 Open
X0A and X1A Timing and Conditions
tLCYL
X0A 0.2 VCC 0.2 VCC
Subclock Conditions
When a crystal or ceramic resonator is used
X0A
X1A
33
MB89870 Series
(4) Instruction Cycle Parameter Symbol Value (typical) 4/FCH, 8/FCH, 16/FCH, 64/FCH 2/FCL Unit s s Remarks (4/FCH) tinst = 0.4 s when operating at FCH = 10 MHz tinst = 61.036 s when operating at FCL = 32.768 kHz
Instruction cycle tinst (minimum execution time)
Note: When operating at 10 MHz, the cycle varies with the set execution time. (5) Serial I/O Timing (VCC = +5.0 V10%, AVSS = VSS= 0.0 V, TA = -40C to +85C) Parameter Serial clock cycle time SCK SO time Valid SI SCK SCK valid SI hold time Serial clock "H" pulse width Serial clock "L" pulse width SCK SO time Valid SI SCK SCK valid SI hold time Symbol tSCYC tSLOV tIVSH tSHIX tSHSL tSLSH tSLOV tIVSH tSHIX Pin name SCK SCK, SO SI, SCK SCK, SI SCK SCK, SO SI, SCK SCK, SI External shift clock mode Internal shift clock mode Condition Value Min. 2 tinst* -200 1/2 tinst* 1/2 tinst* 1 tinst* 1 tinst* 0 1/2 tinst* 1/2 tinst* Max. -- 200 -- -- -- -- 200 -- -- Unit s ns s s s s ns s s Remarks
* : For information on tinst, see "(4) Instruction Cycle." Internal Shift Clock Mode
tSCYC SCK 2.4 V 0.8 V tSLOV 2.4 V 0.8 V tIVSH SI 0.8 VCC 0.2 VCC tSHIX 0.8 VCC 0.2 VCC 0.8 V
SO
External Shift Clock Mode
tSLSH SCK 0.8 VCC 0.2 VCC 0.2 VCC tSLOV SO 2.4 V 0.8 V tIVSH SI 0.8 VCC 0.2 VCC tSHIX 0.8 VCC 0.2 VCC tSHSL 0.8 VCC
34
MB89870 Series
(6) Peripheral Input Timing (VCC = +5.0 V 10%, AVSS = VSS = 0.0 V, TA = -40C to +85C) Parameter Peripheral input "H" pulse width 1 Peripheral input "L" pulse width 1 Peripheral input "H" pulse width 2 Peripheral input "L" pulse width 2 Symbol tILIH1 tIHIL1 tILIH2 tIHIL2 EC INT7 to INT0 Pin name Value Min. 1 tinst* 1 tinst* 2 tinst* 2 tinst* Max. -- -- -- -- Unit s s s s Remarks
* : For information on tinst, see "(4) Instruction Cycle."
tIHIL1 EC 0.8 VCC 0.2 VCC 0.2 VCC
tILIH1 0.8 VCC
tIHIL2 INT7 to INT0 0.8 VCC 0.2 VCC 0.2 VCC
tILIH2 0.8 VCC
35
MB89870 Series
5. A/D Converter Electrical Characteristics
(AVCC = VCC = +3.5 V to +6.0 V, AVSS = VSS = 0.0 V, TA = -40C to +85C) Parameter
Resolution Total error Linearity error Differential linearity error Zero transition voltage Full-scale transition voltage Interchannel disparity A/D mode conversion time Sense mode conversion time Analog port input current Analog input voltage Reference voltage IAIN -- -- AVR = 5.0 V, when A/D conversion is activated AVR = 5.0 V, when A/D conversion is stopped AN0 to AN7 -- -- 0.0 0.0 -- -- -- 10 AVR AVCC A V V A -- VOT VFST -- AVR = AVCC -- Symbol
Pin name Condition
--
Value Min.
-- -- -- --
Typ.
-- -- -- --
Max.
10 3.0 2.0 1.5
Unit Remarks
bit LSB LSB LSB mV mV LSB s s
AVSS - 1.5 LSB AVSS + 0.5 LSB AVSS + 2.5 LSB AVR - 3.5 LSB AVR - 1.5 LSB AVR + 0.5 LSB -- -- -- -- 33 tinst* 18 tinst* 4.0 -- --
IR Reference voltage supply current IRH AVR
--
200
--
--
1
A
* : For information on tinst, see "(4) Instruction Cycle" in "4. AC Characteristics."
6. A/D Converter Glossary
* Resolution Analog changes that are identifiable with the A/D converter When the number of bits is 10, analog voltage can be divided into 210 = 1024. * Linearity error (unit: LSB) The deviation of the straight line connecting the zero transition point ("00 0000 0000" "00 0000 0001") with the full-scale transition point ("11 1111 1111" "11 1111 1110") from actual conversion characteristics * Differential linearity error (unit: LSB) The deviation of input voltage needed to change the output code by 1 LSB from the theoretical value * Total error (unit: LSB) The difference between theoretical and actual conversion values
36
MB89870 Series
Digital output 11 1111 1111 11 1111 * 1110
* * * * * * * * * * * * * * * * * * *
Theoretical conversion value Actual conversion value (1 LSB x N + VOT) AVR 1024 VNT - (1 LSB x N + VOT) 1 LSB V( N + 1 ) T - VNT - 1 1 LSB VNT - (1 LSB x N + 1 LSB) 1 LSB
1 LSB =
Linearity error = Differential linearity error = Total error = 0010 0001 0000 VOT VNT V(N + 1)T VFST Analog input
Linearity error
00 0000 00 0000 00 0000
7. Notes on Using A/D Converter
* Input impedance of the analog input pins The A/D converter used for the MB89870 series contains a sample hold circuit as illustrated below to fetch analog input voltage into the sample hold capacitor for eight instruction cycles after activating A/D conversion. For this reason, if the output impedance of the external circuit for the analog input is high, analog input voltage might not stabilize within the analog input sampling period. Therefore, it is recommended to keep the output impedance of the external circuit low (below 10 k). Note that if the impedance cannot be kept low, it is recommended to connect an external capacitor of about 0.1 F for the analog input pin. * Analog Input Equivalent Circuit
Sample hold circuit . C = 33 pF . Analog input pin Comparator If the analog input impedance is higher than 10 k, it is recommended to connect an external capacitor of approx. 0.1 F. . R = 6 k . Close for 8 instruction cycles after activating A/D conversion. Analog channel selector
* Error The smaller the | AVR - AVSS |, the greater the error would become relatively.
37
MB89870 Series
8. OP Amp Electrical Characteristics
(1) AVCC = 5.0 V (AVCC = VCC = 4.5 V to 5.5 V, AVSS = VSS = 0.0 V, TA = -40C to +85C) Parameter I/O voltage range Minimum load resistance Maximum load resistance Offset voltage Gain-bandwidth production DC gain Slew rate (2) AVCC = 3.0 V (AVCC = VCC = 2.7 V to 3.3 V, AVSS = VSS = 0.0 V, TA = -40C to +85C) Parameter I/O voltage range Minimum load resistance Maximum load resistance Offset voltage Gain-bandwidth production DC gain Slew rate Symbol -- -- -- -- -- -- -- Pin name IN0 to IN3 -- -- -- -- -- -- Condition -- -- -- -- -- -- -- Value Min. 0.5 250 -- -10 -- -- -- Typ. 0.5 VCC - 0.35 -- -- 0 0.5 75 0.1 Max. VCC - 1.20 -- 100 +10 -- -- -- Unit Remarks V k A mV MHz dB V/s Symbol -- -- -- -- -- -- -- Pin name IN0 to IN3 -- -- -- -- -- -- Condition -- -- -- -- -- -- -- Value Min. 0.5 VCC - 1.25 100 -- -10 -- -- -- Typ. 0.5 VCC -- -- 0 1.8 75 0.9 Max. 0.5 VCC + 1.25 -- 100 +10 -- -- -- Unit Remarks V k pF mV MHz dB V/s
38
MB89870 Series
s EXAMPLE CHARACTERISTICS
(1) "L" Level Output Voltage (2) "H" Level Output Voltage
VOL vs. IOL
VOL (V) VCC = 2.5 V TA = +25 C 0.5 VCC = 3.0 V 0.4 0.3 0.2 0.1 0.0 0 1 2 3 4 5 6 7 8 9 10 IOL (mA) VCC = 4.0 V VCC = 5.0 V VCC = 6.0 V VCC - VOH (V) 1.0 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0.0 -0.5 0.0
VCC - VOH vs. IOH
TA = +25 C VCC = 2.5 V
VCC = 3.0 V VCC = 4.0 V VCC = 5.0 V VCC = 6.0 V
-1.0
-1.5
-2.0
-2.5
-3.0 IOH (mA)
(3) "H" Level Input Voltage/"L" Level Input Voltage (CMOS Input)
(4) "H" Level Input Voltage/"L" Level Input Voltage (Hysteresis Input)
VIN vs. VCC
TA = +25C
VIN vs. VCC
VIN (V) 5.0 4.5 4.0 3.5 3.0 2.5 2.0 1.5 1.0 0.5 0.0 0 1 2 3 4 5 6 7 VCC (V) TA = +25 C
VIN (V) 5.0 4.5 4.0 3.5 3.0 2.5 2.0 1.5 1.0 0.5 0.0 0 1 2
VIHS VILS
3
4
5
6
7 VCC (V)
VIHS: Threshold when input voltage in hysteresis characteristics is set to "H" level VILS: Threshold when input voltage in hysteresis characteristics is set to "L" level
39
MB89870 Series
(5) Power Supply Current (External Clock)
ICC1 vs. VCC, ICC2 vs. VCC
ICC (mA) 16 14 12 10 8 6 4 2 0 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 Divide by 16 Divide by 64 (ICC2) 6.0 6.5 VCC (V) Divide by 8 FCH = 10 MHz TA = +25C Divide by 4 (ICC1) ICCS (mA) 5.0 4.5 4.0 3.5 3.0 2.5 2.0 1.5 1.0 0.5 0 2.0 2.5
ICCS1 vs. VCC, ICCS2 vs. V CC
FCH = 10 MHz TA = +25C Divide by 4 (ICC1)
Divide by 8 Divide by 16 Divide by 64 (ICC2)
3.0
3.5
4.0
4.5
5.0
5.5
6.0
6.5 VCC (V)
ICCL (A) 200 180 160 140 120 100 80 60 40 20 0 2.0 2.5 3.0 3.5
ICCL vs. VCC
TA = +25 C
ICCLS (A) 50 45 40 35 30 25 20 15 10 5
ICCLS vs. VCC
TA = +25 C
4.0
4.5
5.0
5.5
6.0
6.5 VCC (V)
0 2.0
2.5
3.0
3.5
4.0
4.5
5.0
5.5
6.0
6.5 VCC (V)
(Continued)
40
MB89870 Series
(Continued)
ICCT vs. VCC
ICCT (A) 20 18 16 14 12 10 8 6 4 2 0 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 6.5 VCC (V) TA = +25 C
ICCH (A) 2.0 1.8 1.6 1.4 1.2 1.0 0.8 0.6 0.4 0.2 0 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 6.5 VCC (V)
ICCH vs. VCC
TA = +25 C
IA vs. AVCC
IA (mA) 5.0 4.5 4.0 3.5 3.0 2.5 2.0 1.5 1.0 0.5 0 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 6.5 AVCC (V) FCH = 10 MHz TA = + 25 C IR (A) 200 180 160 140 120 100 80 60 40 20 0 2.0 2.5 3.0 3.5
IR vs. AVR TA = +25 C
4.0
4.5
5.0
5.5
6.0
6.5 AVR (V)
(6) Pull-up Resistance
RPULL vs. VCC
RPULL (k) 1000 TA = +25 C
100
10
1
2
3
4
5
6 VCC (V)
41
MB89870 Series
s INSTRUCTIONS (136 INSTRUCTIONS)
Execution instructions can be divided into the following four groups: * * * * Transfer Arithmetic operation Branch Others
Table 1 lists symbols used for notation of instructions. Table 1 Symbol dir off ext #vct #d8 #d16 dir: b rel @ A AH AL T TH TL IX EP PC SP PS dr CCR RP Ri x (x) (( x )) 42 Direct address (8 bits) Offset (8 bits) Extended address (16 bits) Vector table number (3 bits) Immediate data (8 bits) Immediate data (16 bits) Bit direct address (8:3 bits) Branch relative address (8 bits) Register indirect (Example: @A, @IX, @EP) Accumulator A (Whether its length is 8 or 16 bits is determined by the instruction in use.) Upper 8 bits of accumulator A (8 bits) Lower 8 bits of accumulator A (8 bits) Temporary accumulator T (Whether its length is 8 or 16 bits is determined by the instruction in use.) Upper 8 bits of temporary accumulator T (8 bits) Lower 8 bits of temporary accumulator T (8 bits) Index register IX (16 bits) Extra pointer EP (16 bits) Program counter PC (16 bits) Stack pointer SP (16 bits) Program status PS (16 bits) Accumulator A or index register IX (16 bits) Condition code register CCR (8 bits) Register bank pointer RP (5 bits) General-purpose register Ri (8 bits, i = 0 to 7) Indicates that the very x is the immediate data. (Whether its length is 8 or 16 bits is determined by the instruction in use.) Indicates that the contents of x is the target of accessing. (Whether its length is 8 or 16 bits is determined by the instruction in use.) The address indicated by the contents of x is the target of accessing. (Whether its length is 8 or 16 bits is determined by the instruction in use.) Instruction Symbols Meaning
MB89870 Series
Columns indicate the following: Mnemonic: ~: #: Operation: TL, TH, AH: Assembler notation of an instruction The number of instructions The number of bytes Operation of an instruction A content change when each of the TL, TH, and AH instructions is executed. Symbols in the column indicate the following: * "-" indicates no change. * dH is the 8 upper bits of operation description data. * AL and AH must become the contents of AL and AH prior to the instruction executed. * 00 becomes 00. N, Z, V, C: OP code: An instruction of which the corresponding flag will change. If + is written in this column, the relevant instruction will change its corresponding flag. Code of an instruction. If an instruction is more than one code, it is written according to the following rule: Example: 48 to 4F This indicates 48, 49, ... 4F.
43
MB89870 Series
Table 2 Mnemonic MOV dir,A MOV @IX +off,A MOV ext,A MOV @EP ,A MOV Ri,A MOV A,#d8 MOV A,dir MOV A,@IX +off MOV A,ext MOV A,@A MOV A,@EP MOV A,Ri MOV dir,#d8 MOV @IX +off,#d8 MOV @EP ,#d8 MOV Ri,#d8 MOVW dir,A MOVW @IX +off,A MOVW ext,A MOVW @EP ,A MOVW EP ,A MOVW A,#d16 MOVW A,dir MOVW A,@IX +off MOVW A,ext MOVW A,@A MOVW A,@EP MOVW A,EP MOVW EP ,#d16 MOVW IX,A MOVW A,IX MOVW SP ,A MOVW A,SP MOV @A,T MOVW @A,T MOVW IX,#d16 MOVW A,PS MOVW PS,A MOVW SP ,#d16 SWAP SETB dir: b CLRB dir: b XCH A,T XCHW A,T XCHW A,EP XCHW A,IX XCHW A,SP MOVW A,PC ~ 3 4 4 3 3 2 3 4 4 3 3 3 4 5 4 4 4 5 5 4 2 3 4 5 5 4 4 2 3 2 2 2 2 3 4 3 2 2 3 2 4 4 2 3 3 3 3 2 # 2 2 3 1 1 2 2 2 3 1 1 1 3 3 2 2 2 2 3 1 1 3 2 2 3 1 1 1 3 1 1 1 1 1 1 3 1 1 3 1 2 2 1 1 1 1 1 1 Transfer Instructions (48 instructions) Operation (dir) (A) ( (IX) +off ) (A) (ext) (A) ( (EP) ) (A) (Ri) (A) (A) d8 (A) (dir) (A) ( (IX) +off) (A) (ext) (A) ( (A) ) (A) ( (EP) ) (A) (Ri) (dir) d8 ( (IX) +off ) d8 ( (EP) ) d8 (Ri) d8 (dir) (AH),(dir + 1) (AL) ( (IX) +off) (AH), ( (IX) +off + 1) (AL) (ext) (AH), (ext + 1) (AL) ( (EP) ) (AH),( (EP) + 1) (AL) (EP) (A) (A) d16 (AH) (dir), (AL) (dir + 1) (AH) ( (IX) +off), (AL) ( (IX) +off + 1) (AH) (ext), (AL) (ext + 1) (AH) ( (A) ), (AL) ( (A) ) + 1) (AH) ( (EP) ), (AL) ( (EP) + 1) (A) (EP) (EP) d16 (IX) (A) (A) (IX) (SP) (A) (A) (SP) ( (A) ) (T) ( (A) ) (TH),( (A) + 1) (TL) (IX) d16 (A) (PS) (PS) (A) (SP) d16 (AH) (AL) (dir): b 1 (dir): b 0 (AL) (TL) (A) (T) (A) (EP) (A) (IX) (A) (SP) (A) (PC) TL - - - - - AL AL AL AL AL AL AL - - - - - - - - - AL AL AL AL AL AL - - - - - - - - - - - - - - - AL AL - - - - TH - - - - - - - - - - - - - - - - - - - - - AH AH AH AH AH AH - - - - - - - - - - - - - - - - AH - - - - AH - - - - - - - - - - - - - - - - - - - - - dH dH dH dH dH dH dH - - dH - dH - - - dH - - AL - - - dH dH dH dH dH NZVC ---- ---- ---- ---- ---- ++-- ++-- ++-- ++-- ++-- ++-- ++-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ++-- ++-- ++-- ++-- ++-- ++-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ++++ ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- OP code 45 46 61 47 48 to 4F 04 05 06 60 92 07 08 to 0F 85 86 87 88 to 8F D5 D6 D4 D7 E3 E4 C5 C6 C4 93 C7 F3 E7 E2 F2 E1 F1 82 83 E6 70 71 E5 10 A8 to AF A0 to A7 42 43 F7 F6 F5 F0
Notes: * During byte transfer to A, T A is restricted to low bytes. * Operands in more than one operand instruction must be stored in the order in which their mnemonics are written. (Reverse arrangement of F2MC-8 family)
44
MB89870 Series
Table 3 Mnemonic ADDC A,Ri ADDC A,#d8 ADDC A,dir ADDC A,@IX +off ADDC A,@EP ADDCW A ADDC A SUBC A,Ri SUBC A,#d8 SUBC A,dir SUBC A,@IX +off SUBC A,@EP SUBCW A SUBC A INC Ri INCW EP INCW IX INCW A DEC Ri DECW EP DECW IX DECW A MULU A DIVU A ANDW A ORW A XORW A CMP A CMPW A RORC A ROLC A CMP A,#d8 CMP A,dir CMP A,@EP CMP A,@IX +off CMP A,Ri DAA DAS XOR A XOR A,#d8 XOR A,dir XOR A,@EP XOR A,@IX +off XOR A,Ri AND A AND A,#d8 AND A,dir ~ 3 2 3 4 3 3 2 3 2 3 4 3 3 2 4 3 3 3 4 3 3 3 19 21 3 3 3 2 3 2 2 2 3 3 4 3 2 2 2 2 3 3 4 3 2 2 3 # 1 2 2 2 1 1 1 1 2 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 1 2 1 1 1 1 2 2 1 2 1 1 2 2 Arithmetic Operation Instructions (62 instructions) Operation (A) (A) + (Ri) + C (A) (A) + d8 + C (A) (A) + (dir) + C (A) (A) + ( (IX) +off) + C (A) (A) + ( (EP) ) + C (A) (A) + (T) + C (AL) (AL) + (TL) + C (A) (A) - (Ri) - C (A) (A) - d8 - C (A) (A) - (dir) - C (A) (A) - ( (IX) +off) - C (A) (A) - ( (EP) ) - C (A) (T) - (A) - C (AL) (TL) - (AL) - C (Ri) (Ri) + 1 (EP) (EP) + 1 (IX) (IX) + 1 (A) (A) + 1 (Ri) (Ri) - 1 (EP) (EP) - 1 (IX) (IX) - 1 (A) (A) - 1 (A) (AL) x (TL) (A) (T) / (AL),MOD (T) (A) (A) (T) (A) (A) (T) (A) (A) (T) (TL) - (AL) (T) - (A) CA C A (A) - d8 (A) - (dir) (A) - ( (EP) ) (A) - ( (IX) +off) (A) - (Ri) Decimal adjust for addition Decimal adjust for subtraction (A) (AL) (TL) (A) (AL) d8 (A) (AL) (dir) (A) (AL) ( (EP) ) (A) (AL) ( (IX) +off) (A) (AL) (Ri) (A) (AL) (TL) (A) (AL) d8 (A) (AL) (dir) TL - - - - - - - - - - - - - - - - - - - - - - - dL - - - - - - - - - - - - - - - - - - - - - - - TH - - - - - - - - - - - - - - - - - - - - - - - 00 - - - - - - - - - - - - - - - - - - - - - - - AH - - - - - dH - - - - - - dH - - - - dH - - - dH dH 00 dH dH dH - - - - - - - - - - - - - - - - - - - - NZVC ++++ ++++ ++++ ++++ ++++ ++++ ++++ ++++ ++++ ++++ ++++ ++++ ++++ ++++ +++- ---- ---- ++-- +++- ---- ---- ++-- ---- ---- ++R- ++R- ++R- ++++ ++++ ++-+ ++-+ ++++ ++++ ++++ ++++ ++++ ++++ ++++ ++R- ++R- ++R- ++R- ++R- ++R- ++R- ++R- ++R- OP code 28 to 2F 24 25 26 27 23 22 38 to 3F 34 35 36 37 33 32 C8 to CF C3 C2 C0 D8 to DF D3 D2 D0 01 11 63 73 53 12 13 03 02 14 15 17 16 18 to 1F 84 94 52 54 55 57 56 58 to 5F 62 64 65
(Continued)
45
MB89870 Series
(Continued)
Mnemonic AND A,@EP AND A,@IX +off AND A,Ri OR A OR A,#d8 OR A,dir OR A,@EP OR A,@IX +off OR A,Ri CMP dir,#d8 CMP @EP ,#d8 CMP @IX +off,#d8 CMP Ri,#d8 INCW SP DECW SP ~ 3 4 3 2 2 3 3 4 3 5 4 5 4 3 3 # 1 2 1 1 2 2 1 2 1 3 2 3 2 1 1 Operation (A) (AL) ( (EP) ) (A) (AL) ( (IX) +off) (A) (AL) (Ri) (A) (AL) (TL) (A) (AL) d8 (A) (AL) (dir) (A) (AL) ( (EP) ) (A) (AL) ( (IX) +off) (A) (AL) (Ri) (dir) - d8 ( (EP) ) - d8 ( (IX) + off) - d8 (Ri) - d8 (SP) (SP) + 1 (SP) (SP) - 1 Table 4 Mnemonic BZ/BEQ rel BNZ/BNE rel BC/BLO rel BNC/BHS rel BN rel BP rel BLT rel BGE rel BBC dir: b,rel BBS dir: b,rel JMP @A JMP ext CALLV #vct CALL ext XCHW A,PC RET RETI ~ 3 3 3 3 3 3 3 3 5 5 2 3 6 6 3 4 6 # 2 2 2 2 2 2 2 2 3 3 1 3 1 3 1 1 1 TL - - - - - - - - - - - - - - - TH - - - - - - - - - - - - - - - AH - - - - - - - - - - - - - - - NZVC ++R- ++R- ++R- ++R- ++R- ++R- ++R- ++R- ++R- ++++ ++++ ++++ ++++ ---- ---- OP code 67 66 68 to 6F 72 74 75 77 76 78 to 7F 95 97 96 98 to 9F C1 D1
Branch Instructions (17 instructions) Operation TL - - - - - - - - - - - - - - - - - TH - - - - - - - - - - - - - - - - - AH - - - - - - - - - - - - - - dH - - NZVC ---- ---- ---- ---- ---- ---- ---- ---- -+-- -+-- ---- ---- ---- ---- ---- ---- Restore OP code FD FC F9 F8 FB FA FF FE B0 to B7 B8 to BF E0 21 E8 to EF 31 F4 20 30
If Z = 1 then PC PC + rel If Z = 0 then PC PC + rel If C = 1 then PC PC + rel If C = 0 then PC PC + rel If N = 1 then PC PC + rel If N = 0 then PC PC + rel If V N = 1 then PC PC + rel If V N = 0 then PC PC + reI If (dir: b) = 0 then PC PC + rel If (dir: b) = 1 then PC PC + rel (PC) (A) (PC) ext Vector call Subroutine call (PC) (A),(A) (PC) + 1 Return from subrountine Return form interrupt Table 5
Other Instructions (9 instructions) Operation TL - - - - - - - - - TH - - - - - - - - - AH - dH - - - - - - - NZVC ---- ---- ---- ---- ---- ---R ---S ---- ---- OP code 40 50 41 51 00 81 91 80 90
Mnemonic PUSHW A POPW A PUSHW IX POPW IX NOP CLRC SETC CLRI SETI
~ 4 4 4 4 1 1 1 1 1
# 1 1 1 1 1 1 1 1 1
46
L RETI SETC PUSHW POPW MOV MOVW CLRI A A A,ext A,PS CLRB BBC INCW DECW MOVW MOVW dir: 1 dir: 1,rel SP SP SP ,A A,SP SETI CLRB BBC INCW DECW JMP MOVW dir: 0 dir: 0,rel A A @A A,PC
H 3 4 5 6 7 8 9 A B C D E F
0
1
2
0
NOP
SWAP
RET
1 SUBC A A
MULU
DIVU
A XCH XOR AND OR A, T A A
A
JMP CALL PUSHW POPW MOV MOVW CLRC addr16 addr16 IX IX ext,A PS,A MOV MOV CLRB BBC INCW DECW MOVW MOVW @A,T A,@A dir: 2 dir: 2,rel IX IX IX,A A,IX
2
ROLC
CMP
ADDC
A
A
A
s INSTRUCTION MAP
3 XOR AND OR DAA A,#d8 A,#d8 A,#d8 DAS
RORC CMPW ADDCW SUBCW XCHW XORW ANDW ORW MOVW MOVW CLRB BBC INCW DECW MOVW MOVW A A A A A, T A A A @A,T A,@A dir: 3 dir: 3,rel EP EP EP ,A A,EP CLRB BBC MOVW MOVW MOVW XCHW dir: 4 dir: 4,rel A,ext ext,A A,#d16 A,PC
4
MOV CMP ADDC SUBC A,#d8 A,#d8 A,#d8 A,#d8
5 SUBC MOV XOR AND OR MOV CMP
MOV CMP ADDC SUBC MOV XOR AND OR MOV CMP CLRB BBC MOVW MOVW MOVW XCHW A,dir A,dir A,dir A,dir dir,A A,dir A,dir A,dir dir,#d8 dir,#d8 dir: 5 dir: 5,rel A,dir dir,A SP ,#d16 A,SP CLRB BBC MOVW MOVW MOVW XCHW dir: 6 dir: 6,rel A,@IX +d @IX +d,A IX,#d16 A,IX
6
MOV
CMP
ADDC
A,@IX +d A,@IX +d A,@IX +d A,@IX +d @IX +d,A A,@IX +d A,@IX +d A,@IX +d @IX +d,#d8 @IX +d,#d8
7
MOV CMP ADDC SUBC MOV XOR AND OR MOV CMP CLRB BBC MOVW MOVW MOVW XCHW ,#d8 @EP ,#d8 A,@EP A,@EP A,@EP A,@EP @EP ,A A,@EP A,@EP A,@EP @EP dir: 7 dir: 7,rel A,@EP @EP ,A EP ,#d16 A,EP
8
MOV CMP ADDC SUBC MOV XOR AND OR MOV CMP SETB BBS INC DEC CALLV BNC A,R0 A,R0 A,R0 A,R0 R0,A A,R0 A,R0 A,R0 R0,#d8 R0,#d8 dir: 0 dir: 0,rel R0 R0 #0 rel rel rel rel
9
MOV CMP ADDC SUBC MOV XOR AND OR MOV CMP SETB BBS INC DEC CALLV BC A,R1 A,R1 A,R1 A,R1 R1,A A,R1 A,R1 A,R1 R1,#d8 R1,#d8 dir: 1 dir: 1,rel R1 R1 #1
A
MOV CMP ADDC SUBC MOV XOR AND OR MOV CMP SETB BBS INC DEC CALLV BP A,R2 A,R2 A,R2 A,R2 R2,A A,R2 A,R2 A,R2 R2,#d8 R2,#d8 dir: 2 dir: 2,rel R2 R2 #2
B
MOV CMP ADDC SUBC MOV XOR AND OR MOV CMP SETB BBS INC DEC CALLV BN A,R3 A,R3 A,R3 A,R3 R3,A A,R3 A,R3 A,R3 R3,#d8 R3,#d8 dir: 3 dir: 3,rel R3 R3 #3
C
MOV CMP ADDC SUBC MOV XOR AND OR MOV CMP SETB BBS INC DEC CALLV BNZ A,R4 A,R4 A,R4 A,R4 R4,A A,R4 A,R4 A,R4 R4,#d8 R4,#d8 dir: 4 dir: 4,rel R4 R4 #4 rel rel
D
MOV CMP ADDC SUBC MOV XOR AND OR MOV CMP SETB BBS INC DEC CALLV BZ A,R5 A,R5 A,R5 A,R5 R5,A A,R5 A,R5 A,R5 R5,#d8 R5,#d8 dir: 5 dir: 5,rel R5 R5 #5
E
MOV CMP ADDC SUBC MOV XOR AND OR MOV CMP SETB BBS INC DEC CALLV BGE A,R6 A,R6 A,R6 A,R6 R6,A A,R6 A,R6 A,R6 R6,#d8 R6,#d8 dir: 6 dir: 6,rel R6 R6 #6 rel
MB89870 Series
F
MOV CMP ADDC SUBC MOV XOR AND OR MOV CMP SETB BBS INC DEC CALLV BLT A,R7 A,R7 A,R7 A,R7 R7,A A,R7 A,R7 A,R7 R7,#d8 R7,#d8 dir: 7 dir: 7,rel R7 R7 #7 rel
47
MB89870 Series
s MASK OPTIONS
Part number No. Specifying procedure Pull-up resistors P00 to P07, P10 to P17, P20 to P24, P30 to P37, P40 to P47, P50 to P57 Power-on reset selection With power-on reset Without power-on reset Selection of the oscillation stabilization time initial value 218/FCH (Approx. 26.2 ms) 217/FCH (Approx. 13.1 ms) 213/FCH (Approx. 0.8 ms) 24/FCH (Approx. 0 ms) Selection either single- or dual-clock system Single clock Dual Clock Reset pin output With reset output Without reset output MB89875 Specify when ordering masking Specify by pin (in 2-pin unit for P10 to P17, and in 4-pin unit for P40 to P47) Selectable MB89P875 Set with EPROM programmer MB89PV870 Setting not possible
1
Specify by pin (in 2-pin unit for P10 Fixed to without pullto P17, and in 4-pin up resistor unit for P40 to P47) Selectable Fixed to with poweron reset
2
3
Selectable
Selectable
Fixed to 218/FCH (Approx. 26.2 ms)
4
Selectable
Selectable
Fixed to dual-clock system Fixed to with reset output
5
Selectable
Selectable
Notes: * * * *
Reset is input asynchronized with the internal clock whether with or without power-on reset. P30 to P37 should be set to without pull-up resistor when an A/D conveter is used. P10 to P17, P34 to P37 should be set to without pull-up resistor when an OP amp is used. P40 to P47 and P23 and P24 should be set to without pull-up resistor when an LCD controller/driver is used.
s ORDERING INFORMATION
Part number MB89875PFV MB89P875PFV MB89875PF MB89P875PF MB89PV870CF Package 80-pin Plastic LQFP (FPT-80P-M05) 80-pin Plastic QFP (FPT-80P-M06) 80-pin Ceramic MQFP (MQP-80C-P01) Remarks
48
MB89870 Series
s PACKAGE DIMENSIONS
80-pin Plastic LQFP (FPT-80P-M05)
60
14.000.20(.551.008)SQ 12.000.10(.472.004)SQ
41
1.50 -0.10 .059 -.004
+0.20 +.008
(Mounting height)
61
40
9.50 (.374) REF INDEX
80 21
13.00 (.512) NOM
LEAD No.
1
20
"A" 0.127 -0.02 .005 -.001
+.002 +0.05
Details of "A" part
0.500.08 (.0197.0031)
0.18 -0.03 .007 -.001
+0.08 +.003
0.100.10 (STAND OFF) (.004.004)
0.500.20(.020.008) 0.10(.004) 0 10
C
1995 FUJITSU LIMITED F80008S-2C-5
Dimensions in mm (inches)
80-pin Plastic QFP (FPT-80P-M06)
64 65
23.900.40(.941.016) 20.000.20(.787.008)
41 40
3.35(.132)MAX (Mounting height) 0.05(.002)MIN (STAND OFF)
14.000.20 (.551.008)
INDEX
80 25
17.900.40 (.705.016)
12.00(.472) REF
16.300.40 (.642.016)
"A" LEAD No.
1 24
0.80(.0315)TYP
0.350.10 (.014.004)
0.16(.006)
M
0.150.05(.006.002)
Details of "A" part 0.25(.010) "B" 0.10(.004) 18.40(.724)REF 22.300.40(.878.016) 0.30(.012) 0.18(.007)MAX 0.58(.023)MAX
Details of "B" part
0
10
0.800.20 (.031.008)
C
1994 FUJITSU LIMITED F80010S-3C-2
Dimensions in mm (inches)
49
MB89870 Series
80-pin Ceramic MQFP (MQP-80C-P01)
INDEX AREA
18.70(.736)TYP 12.00(.472)TYP 16.300.33 (.642.013) 15.580.20 (.613.008) 1.50(.059)TYP 1.00(.040)TYP 4.50(.177) TYP 1.20 -0.20 .047 -.008
+0.40 +.016
0.800.25 (.0315.010) 0.800.25 (.0315.010)
1.270.13 (.050.005) 22.300.33 (.878.013) 24.70(.972) TYP 0.30(.012) TYP 18.120.20 12.02(.473) (.713.008) TYP 10.16(.400) 14.22(.560) TYP TYP
INDEX AREA 18.40(.724) REF
INDEX 6.00(.236) TYP 0.30(.012)TYP 7.62(.300)TYP 9.48(.373)TYP 11.68(.460)TYP 0.400.10 (.016.004) 1.50(.059) TYP 1.00(.040) TYP
1.270.13 (.050.005)
0.400.10 (.016.004)
1.20 -0.20 .047 -.008
+0.40 +.016
0.150.05 8.70(.343) (.006.002) MAX
C
1994 FUJITSU LIMITED M80001SC-4-2
Dimensions in mm (inches)
50
MB89870 Series
FUJITSU LIMITED
For further information please contact:
Japan FUJITSU LIMITED Corporate Global Business Support Division Electronic Devices KAWASAKI PLANT, 4-1-1, Kamikodanaka Nakahara-ku, Kawasaki-shi Kanagawa 211-8588, Japan Tel: 81(44) 754-3763 Fax: 81(44) 754-3329
All Rights Reserved. The contents of this document are subject to change without notice. Customers are advised to consult with FUJITSU sales representatives before ordering. The information and circuit diagrams in this document are presented as examples of semiconductor device applications, and are not intended to be incorporated in devices for actual use. Also, FUJITSU is unable to assume responsibility for infringement of any patent rights or other rights of third parties arising from the use of this information or circuit diagrams. FUJITSU semiconductor devices are intended for use in standard applications (computers, office automation and other office equipment, industrial, communications, and measurement equipment, personal or household devices, etc.). CAUTION: Customers considering the use of our products in special applications where failure or abnormal operation may directly affect human lives or cause physical injury or property damage, or where extremely high levels of reliability are demanded (such as aerospace systems, atomic energy controls, sea floor repeaters, vehicle operating controls, medical devices for life support, etc.) are requested to consult with FUJITSU sales representatives before such use. The company will not be responsible for damages arising from such use without prior approval. Any semiconductor devices have an inherent chance of failure. You must protect against injury, damage or loss from such failures by incorporating safety design measures into your facility and equipment such as redundancy, fire protection, and prevention of over-current levels and other abnormal operating conditions. If any products described in this document represent goods or technologies subject to certain restrictions on export under the Foreign Exchange and Foreign Trade Law of Japan, the prior authorization by Japanese government will be required for export of those products from Japan.
http://www.fujitsu.co.jp/
North and South America FUJITSU MICROELECTRONICS, INC. Semiconductor Division 3545 North First Street San Jose, CA 95134-1804, USA Tel: (408) 922-9000 Fax: (408) 922-9179 Customer Response Center Mon. - Fri.: 7 am - 5 pm (PST) Tel: (800) 866-8608 Fax: (408) 922-9179
http://www.fujitsumicro.com/
Europe FUJITSU MIKROELEKTRONIK GmbH Am Siebenstein 6-10 D-63303 Dreieich-Buchschlag Germany Tel: (06103) 690-0 Fax: (06103) 690-122
http://www.fujitsu-ede.com/
Asia Pacific FUJITSU MICROELECTRONICS ASIA PTE LTD #05-08, 151 Lorong Chuan New Tech Park Singapore 556741 Tel: (65) 281-0770 Fax: (65) 281-0220
http://www.fmap.com.sg/
F9812 (c) FUJITSU LIMITED Printed in Japan
51


▲Up To Search▲   

 
Price & Availability of MB89875

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X